//
//  RestaurantModel.m
//  littleLight's Project-A
//
//  Created by dllo on 16/5/19.
//  Copyright © 2016年 light. All rights reserved.
//

#import "RestaurantModel.h"

@implementation RestaurantModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"tips"]) {
        NSArray *array = [NSArray arrayWithArray:value];
        if (array.count) {
            NSDictionary *dic = [array firstObject];
            NSString *string = [dic objectForKey:@"content"];
            self.content = string;
        }else{
            self.content = @"暂无评论信息";
        }
        
        
    }
}
@end
